PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Wire Circles / suksma - god might as well.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.001 |
| 8 | fDecay=0.900 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.290 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.000 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.500 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=1.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.110 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.100 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=0.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=x=sample+0.1*sin(1.57+time*1.34+sample*5*(1+sin(time))); |
| 89 | wave_0_per_point2=y=sample+0.1*cos(1.57+time*1.34+sample*5*(1+sin(time))); |
| 90 | wave_0_per_point3=r=0.5+0.5*sin(time+sample*3); |
| 91 | wave_0_per_point4=g=0.5+0.5*sin(time*1.13+sample*3); |
| 92 | wave_0_per_point5=b=0.5+0.5*sin(time*0.97+sample*3); |
| 93 | wave_0_per_point6= |
| 94 | wavecode_1_enabled=0 |
| 95 | wavecode_1_samples=512 |
| 96 | wavecode_1_sep=0 |
| 97 | wavecode_1_bSpectrum=0 |
| 98 | wavecode_1_bUseDots=0 |
| 99 | wavecode_1_bDrawThick=0 |
| 100 | wavecode_1_bAdditive=0 |
| 101 | wavecode_1_scaling=1.00000 |
| 102 | wavecode_1_smoothing=0.50000 |
| 103 | wavecode_1_r=1.000 |
| 104 | wavecode_1_g=1.000 |
| 105 | wavecode_1_b=1.000 |
| 106 | wavecode_1_a=1.000 |
| 107 | wave_1_per_point1=x=sample+0.4*sin(time*(1+sample)); |
| 108 | wave_1_per_point2=y=1-(sample+0.4*cos(time*(1+sample))); |
| 109 | wave_1_per_point3=r=0.5+0.5*sin(time+sample*3); |
| 110 | wave_1_per_point4=g=0.5+0.5*sin(time*1.13+sample*3); |
| 111 | wave_1_per_point5=b=0.5+0.5*sin(time*0.97+sample*3); |
| 112 | wave_1_per_point6= |
| 113 | wavecode_2_enabled=0 |
| 114 | wavecode_2_samples=512 |
| 115 | wavecode_2_sep=0 |
| 116 | wavecode_2_bSpectrum=0 |
| 117 | wavecode_2_bUseDots=0 |
| 118 | wavecode_2_bDrawThick=0 |
| 119 | wavecode_2_bAdditive=0 |
| 120 | wavecode_2_scaling=1.00000 |
| 121 | wavecode_2_smoothing=0.50000 |
| 122 | wavecode_2_r=1.000 |
| 123 | wavecode_2_g=1.000 |
| 124 | wavecode_2_b=1.000 |
| 125 | wavecode_2_a=1.000 |
| 126 | wave_2_per_point1=x=1-(sample+0.1*sin(1.57+time*1.34+sample*5*(1+sin(time)))); |
| 127 | wave_2_per_point2=y=sample+0.1*cos(1.57+time*1.34+sample*5*(1+sin(time))); |
| 128 | wave_2_per_point3=r=0.5+0.5*sin(time+sample*3); |
| 129 | wave_2_per_point4=g=0.5+0.5*sin(time*1.13+sample*3); |
| 130 | wave_2_per_point5=b=0.5+0.5*sin(time*0.97+sample*3); |
| 131 | wave_2_per_point6= |
| 132 | wavecode_3_enabled=1 |
| 133 | wavecode_3_samples=512 |
| 134 | wavecode_3_sep=0 |
| 135 | wavecode_3_bSpectrum=0 |
| 136 | wavecode_3_bUseDots=0 |
| 137 | wavecode_3_bDrawThick=0 |
| 138 | wavecode_3_bAdditive=0 |
| 139 | wavecode_3_scaling=1.00000 |
| 140 | wavecode_3_smoothing=0.50000 |
| 141 | wavecode_3_r=1.000 |
| 142 | wavecode_3_g=1.000 |
| 143 | wavecode_3_b=1.000 |
| 144 | wavecode_3_a=1.000 |
| 145 | wave_3_per_point1=x=1-(sample+0.4*sin(time*(1+sample))); |
| 146 | wave_3_per_point2=y=1-(sample+0.4*cos(time*(1+sample))); |
| 147 | wave_3_per_point3=r=0.5+0.5*sin(time+sample*3); |
| 148 | wave_3_per_point4=g=0.5+0.5*sin(time*1.13+sample*3); |
| 149 | wave_3_per_point5=b=0.5+0.5*sin(time*0.97+sample*3); |
| 150 | wave_3_per_point6= |
| 151 | shapecode_0_enabled=0 |
| 152 | shapecode_0_sides=4 |
| 153 | shapecode_0_additive=0 |
| 154 | shapecode_0_thickOutline=0 |
| 155 | shapecode_0_textured=0 |
| 156 | shapecode_0_num_inst=1 |
| 157 | shapecode_0_x=0.500 |
| 158 | shapecode_0_y=0.500 |
| 159 | shapecode_0_rad=0.10000 |
| 160 | shapecode_0_ang=0.00000 |
| 161 | shapecode_0_tex_ang=0.00000 |
| 162 | shapecode_0_tex_zoom=1.00000 |
| 163 | shapecode_0_r=1.000 |
| 164 | shapecode_0_g=0.000 |
| 165 | shapecode_0_b=0.000 |
| 166 | shapecode_0_a=1.000 |
| 167 | shapecode_0_r2=0.000 |
| 168 | shapecode_0_g2=1.000 |
| 169 | shapecode_0_b2=0.000 |
| 170 | shapecode_0_a2=0.000 |
| 171 | shapecode_0_border_r=1.000 |
| 172 | shapecode_0_border_g=1.000 |
| 173 | shapecode_0_border_b=1.000 |
| 174 | shapecode_0_border_a=0.100 |
| 175 | shapecode_1_enabled=0 |
| 176 | shapecode_1_sides=4 |
| 177 | shapecode_1_additive=0 |
| 178 | shapecode_1_thickOutline=0 |
| 179 | shapecode_1_textured=0 |
| 180 | shapecode_1_num_inst=1 |
| 181 | shapecode_1_x=0.500 |
| 182 | shapecode_1_y=0.500 |
| 183 | shapecode_1_rad=0.10000 |
| 184 | shapecode_1_ang=0.00000 |
| 185 | shapecode_1_tex_ang=0.00000 |
| 186 | shapecode_1_tex_zoom=1.00000 |
| 187 | shapecode_1_r=1.000 |
| 188 | shapecode_1_g=0.000 |
| 189 | shapecode_1_b=0.000 |
| 190 | shapecode_1_a=1.000 |
| 191 | shapecode_1_r2=0.000 |
| 192 | shapecode_1_g2=1.000 |
| 193 | shapecode_1_b2=0.000 |
| 194 | shapecode_1_a2=0.000 |
| 195 | shapecode_1_border_r=1.000 |
| 196 | shapecode_1_border_g=1.000 |
| 197 | shapecode_1_border_b=1.000 |
| 198 | shapecode_1_border_a=0.100 |
| 199 | shapecode_2_enabled=0 |
| 200 | shapecode_2_sides=4 |
| 201 | shapecode_2_additive=0 |
| 202 | shapecode_2_thickOutline=0 |
| 203 | shapecode_2_textured=0 |
| 204 | shapecode_2_num_inst=1 |
| 205 | shapecode_2_x=0.500 |
| 206 | shapecode_2_y=0.500 |
| 207 | shapecode_2_rad=0.10000 |
| 208 | shapecode_2_ang=0.00000 |
| 209 | shapecode_2_tex_ang=0.00000 |
| 210 | shapecode_2_tex_zoom=1.00000 |
| 211 | shapecode_2_r=1.000 |
| 212 | shapecode_2_g=0.000 |
| 213 | shapecode_2_b=0.000 |
| 214 | shapecode_2_a=1.000 |
| 215 | shapecode_2_r2=0.000 |
| 216 | shapecode_2_g2=1.000 |
| 217 | shapecode_2_b2=0.000 |
| 218 | shapecode_2_a2=0.000 |
| 219 | shapecode_2_border_r=1.000 |
| 220 | shapecode_2_border_g=1.000 |
| 221 | shapecode_2_border_b=1.000 |
| 222 | shapecode_2_border_a=0.100 |
| 223 | shapecode_3_enabled=0 |
| 224 | shapecode_3_sides=4 |
| 225 | shapecode_3_additive=0 |
| 226 | shapecode_3_thickOutline=0 |
| 227 | shapecode_3_textured=0 |
| 228 | shapecode_3_num_inst=1 |
| 229 | shapecode_3_x=0.500 |
| 230 | shapecode_3_y=0.500 |
| 231 | shapecode_3_rad=0.10000 |
| 232 | shapecode_3_ang=0.00000 |
| 233 | shapecode_3_tex_ang=0.00000 |
| 234 | shapecode_3_tex_zoom=1.00000 |
| 235 | shapecode_3_r=1.000 |
| 236 | shapecode_3_g=0.000 |
| 237 | shapecode_3_b=0.000 |
| 238 | shapecode_3_a=1.000 |
| 239 | shapecode_3_r2=0.000 |
| 240 | shapecode_3_g2=1.000 |
| 241 | shapecode_3_b2=0.000 |
| 242 | shapecode_3_a2=0.000 |
| 243 | shapecode_3_border_r=1.000 |
| 244 | shapecode_3_border_g=1.000 |
| 245 | shapecode_3_border_b=1.000 |
| 246 | shapecode_3_border_a=0.100 |
| 247 | per_frame_init_1=mv_x=64;mv_y=48; |
| 248 | per_frame_init_2=dcsp=0; |
| 249 | per_frame_init_3= |
| 250 | per_frame_init_4=zoom = 1.0; |
| 251 | per_frame_init_5=warp = 0; |
| 252 | per_frame_init_6=rot = 0; |
| 253 | per_frame_init_7=dx = 0; |
| 254 | per_frame_init_8=dy = 0; |
| 255 | per_frame_init_9=sx = 1; |
| 256 | per_frame_init_10=sy = -1; |
| 257 | per_frame_init_11=cx = 0.5; |
| 258 | per_frame_init_12=cy = 0.5; |
| 259 | per_frame_init_13= |
| 260 | per_frame_1=decay = 1; |
| 261 | per_frame_2= |
| 262 | per_frame_3=//uncommenting this block will make decay start at 0 when preset begins, and rise to the "max_decay" value |
| 263 | per_frame_4=//max_decay = 0.97; |
| 264 | per_frame_5=//dcsp = dcsp + 0.007*(75/fps); |
| 265 | per_frame_6=//dcsp = min(dcsp , max_decay); |
| 266 | per_frame_7=//decay = dcsp; |
| 267 | per_frame_8= |
| 268 | per_frame_9=//volume, and volume based time. framerate adjusted |
| 269 | per_frame_10=vol = (bass+mid+treb)*0.25; |
| 270 | per_frame_11=vol = vol*vol; |
| 271 | per_frame_12= |
| 272 | per_frame_13=mtime = mtime + vol * 0.01 * (75/fps); |
| 273 | per_frame_14= |
| 274 | per_frame_15=q1 = vol; |
| 275 | per_frame_16=q2 = mtime; |
| 276 | per_frame_17= |
| 277 | per_frame_18=//non bass volume |
| 278 | per_frame_19=vol2 = (mid+treb)*0.33; |
| 279 | per_frame_20=vol2 = vol2*vol2; |
| 280 | per_frame_21= |
| 281 | per_frame_22=m2time = m2time + vol2 * 0.01 * (75/fps); |
| 282 | per_frame_23= |
| 283 | per_frame_24=q3 = vol2; |
| 284 | per_frame_25=q4 = m2time; |
| 285 | per_frame_26= |
| 286 | per_frame_27= |
| 287 | per_frame_28=//krash's beat detection code |
| 288 | per_frame_29=volume = 0.3*(bass+mid+att); |
| 289 | per_frame_30=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate); |
| 290 | per_frame_31=lastbeat = lastbeat + equal(lastbeat,0)*time; |
| 291 | per_frame_32=meanbass_att = 0.1*(meanbass_att*9 + bass_att); |
| 292 | per_frame_33=peakbass_att = max(bass_att,peakbass_att); |
| 293 | per_frame_34=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1); |
| 294 | per_frame_35=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995); |
| 295 | per_frame_36=lastbeat = beat*time + (1-beat)*lastbeat; |
| 296 | per_frame_37=peakbass_att = max(peakbass_att,1.1*meanbass_att); |
| 297 | per_frame_38=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); |
| 298 | per_frame_39=beatcounter = beatcounter + beat; |
| 299 | per_frame_40=mode = if(beat*equal(beatcounter%2,0),1-mode,mode); |
| 300 | per_frame_41=flip = 2*mode-1; |
| 301 | per_frame_42= |
| 302 | per_frame_43=beatdrop = if( equal(beatdrop,0) , beat , max(beatdrop - 0.02*(75/fps) , 0) ); |
| 303 | per_frame_44= |
| 304 | per_frame_45=q7 = beatdrop; |
| 305 | per_frame_46=q8 = flip; |
| 306 | per_frame_47= |
| 307 | per_frame_48= |
| 308 | per_frame_49= |
| 309 | per_frame_50= |
| 310 | per_frame_51=q6 = 1.0 + 0.005;//beatdrop*0.03; |
| 311 | per_frame_52= |
| 312 | per_frame_53=zoom = 1; |
| 313 | per_frame_54=sx = -q6; |
| 314 | per_frame_55=sy = q6; |
| 315 | per_frame_56= |
| 316 | per_frame_57=warp=0; |
| 317 | per_frame_58= |
| 318 | per_frame_59=//dx = sin(time/4)*0.15; |
| 319 | per_frame_60=cx = 0.5 + dx ; |
| 320 | per_frame_61= |
| 321 | per_frame_62=gamma = 1 + beatdrop*beatdrop |
| 322 | warp_1=`shader_body |
| 323 | warp_2=`{ |
| 324 | warp_3=`float2 pixelsize = texsize.zw; |
| 325 | warp_4=`float2 uvm = uv_orig; |
| 326 | warp_5=` |
| 327 | warp_6=`float2 noise_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 328 | warp_7=`float4 noiseVal = tex2D(sampler_noise_lq, noise_uv); |
| 329 | warp_8=` |
| 330 | warp_9=`ret.xyz = saturate(tex2D( sampler_pw_main,uvm).xyz*float3(1,1,1) - float3(.0,.0,.0)); |
| 331 | warp_10=`ret.xyz = tex2D( sampler_pw_main,uvm).xyz; |
| 332 | warp_11=` |
| 333 | warp_12=` |
| 334 | warp_13=`float3 rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.xy-.5)*12*pixelsize).xyz; |
| 335 | warp_14=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 336 | warp_15=`ret.xy = rsamp.xy; |
| 337 | warp_16=`} |
| 338 | warp_17=` |
| 339 | warp_18=`rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.zw-.5)*48*pixelsize).xyz; |
| 340 | warp_19=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 341 | warp_20=`ret.xy = rsamp.xy; |
| 342 | warp_21=`} |
| 343 | warp_22=` |
| 344 | warp_23=`ret.z = tex2D(sampler_fw_main,ret.xy).z; |
| 345 | warp_24=` |
| 346 | warp_25=`ret.z -= q1*.005; |
| 347 | warp_26=` |
| 348 | warp_27=`if (ret.z < .09) { |
| 349 | warp_28=`ret*=0; |
| 350 | warp_29=`} |
| 351 | warp_30=` |
| 352 | warp_31=` |
| 353 | warp_32=`} |
| 354 | comp_1=`shader_body |
| 355 | comp_2=`{ |
| 356 | comp_3=` float2 uv2; |
| 357 | comp_4=` |
| 358 | comp_5=` float4 c = float4(1,0.4,0.15,0.1); |
| 359 | comp_6=` |
| 360 | comp_7=` uv2 = uv + float2(1,0)*texsize.zw; |
| 361 | comp_8=` float gx1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 362 | comp_9=` uv2 = uv + float2(-1,0)*texsize.zw; |
| 363 | comp_10=` float gx2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 364 | comp_11=` |
| 365 | comp_12=` uv2 = uv + float2(0,1)*texsize.zw; |
| 366 | comp_13=` float gy1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 367 | comp_14=` uv2 = uv + float2(0,-1)*texsize.zw; |
| 368 | comp_15=` float gy2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 369 | comp_16=` |
| 370 | comp_17=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.14)); |
| 371 | comp_18=` |
| 372 | comp_19=` ret = 0.5 + 0.5*g; |
| 373 | comp_20=` ret *= saturate(length(ret.xy-0.5)*5); |
| 374 | comp_21=` ret = ret.xxy; |
| 375 | comp_22=` ret -= 1.3; |
| 376 | comp_23=` ret += lerp(ret,ret*(GetBlur1(uv)-GetBlur3(uv)*1.75),pow(hue_shader.zxy,ret)); |
| 377 | comp_24=` ret *= ret; |
| 378 | comp_25=` |
| 379 | comp_26=` //ret *= 1.5; //old gamma effect |
| 380 | comp_27=`} |